package cn.dg.service.impl;

import cn.dg.dao.CheckItemDao;
import cn.dg.domian.CheckItem;
import cn.dg.service.CheckItemService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author dg
 * @Date: 2019/12/18 19:53
 **/
@Service(interfaceClass = CheckItemService.class)
@Transactional
public class CheckItemServiceImpl implements CheckItemService {

    @Autowired
    private CheckItemDao dao;

    @Override
    public void add(CheckItem item) {
        dao.add(item);
    }
}
